<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="com.point.business.database.model.*"%>
<%@ taglib prefix="secNO" uri="/WEB-INF/canSearchNO.tld"%>
<%@ taglib prefix="secSL" uri="/WEB-INF/canSearchSL.tld"%>
<%@ taglib prefix="secND" uri="/WEB-INF/canSearchND.tld"%>
<%@ taglib prefix="secUOPB" uri="/WEB-INF/canSearchUOPB.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Biznis.Point</title>
<link rel="icon" type="img/ico" href="images/icons/favicon.ico">
<jsp:include page="../loadResources.jsp" />
</head>
<script>
var contextPath = '<%=request.getContextPath()%>';
	$(document).ready(function() {
		var href = $('.tabMenu').find('li').first().find('a').attr('href');
		if(href==undefined){
			window.location=encodeURI(contextPath+"/error.jsp?errorMessage=permissionIssue");
			return;
		}
		if (href != "user.jsp") {
			window.location.href = href;
		}
	});
	$(document).keypress(function(event){

	    var keycode = (event.keyCode ? event.keyCode : event.which);
	    if(keycode == '13'){
	        //$('#searchBtnNO').click();   
	    }

	});
</script>
<body id="page1">

	<div class="bg">
		<div class="main">
			<header> <jsp:include page="/header.jsp" />
			<div class="row-2-1">
				<nav>
				<ul class="tabMenu">
					<secNO:canSearchNO>
						<li><a class="active" href="user.jsp">Нотарски објави</a></li>
					</secNO:canSearchNO>
					<secSL:canSearchSL>
						<li><a href="bankruptcy.jsp">Регистар на правни лица</a></li>
					</secSL:canSearchSL>
					<secND:canSearchND>
						<li><a href="personalDocs.jsp">Лични документи</a></li>
					</secND:canSearchND>
					<secUOPB:canSearchUOPB>
						<li><a href="searchUOPB.jsp">УОПБ</a></li>
					</secUOPB:canSearchUOPB>
					<!-- <li><a href="products.html">Our Products</a></li>
						<li class="last-item"><a href="contacts.html">Contact Us</a></li> -->
				</ul>
				</nav>
			</div>
			</header>
			<section id="content"> <secNO:canSearchNO>
				<div class="padding">
					<div class="box-bg">
						<div class="wrapper">
							<h3>Нотарски објави</h3>
							<h4>ПРЕБАРУВАЊЕ НА НОТАРСКИ ОБЈАВИ</h4>
							<form id="searchNO" method="post" class="margin-top-20">
								<div class="pull-left margin-bottom-15 full-width">
									<span style="width: 22%;"
										class="font-size-12 pull-left color-4 input-label">Внесете
										назив, седиште, единствен даночен број (ЕДБ), матичен број (МБ), Нотар или друг опис за пребарување:</span>
									<div class="search-form pull-left">
										<input type="text" id="embs" onkeyup="latcyr(this)"
											class="search-input-padding login-input search-form"
											name="any">
									</div>
								</div>
								<br>
								<!-- <div class="pull-left margin-bottom-15 full-width">
									<span style="width: 22%;"
										class="font-size-12 pull-left color-4 input-label">Пребарувај
										по сите останати:</span>
									<div class="search-form pull-left">
										<input type="text" id="any" onkeyup="latcyr(this)"
											class="search-input-padding login-input search-form"
											name="any">
									</div>
								</div> -->
								<br> <input type="hidden" name="userId" value="${user.id}"
									id="userId">
								<div class="clear margin-bottom-15">
									<input onclick="searchNO()" type="button" class="button-login"
										id="searchBtnNO" value="Пребарувај">
								</div>
							</form>
						</div>
						<%-- <div class="wrapper">
							<span
								class="font-size-14 pull-left color-4 input-label hide bold-font"
								id="tooMuchResults"> Пронајдени се повеќе од <%=com.point.business.util.Settings
						.getValue("max.rows.per.search")%>
								резултати. Ви ги прикажуваме најновите <%=com.point.business.util.Settings
						.getValue("max.rows.per.search")%>.
							</span>
						</div> --%>
						<div class="wrapper search-list-wrapper" id="searchNOresults">
							<ul>
							</ul>
						</div>
					</div>
				</div>
			</secNO:canSearchNO> </section>
			<footer> <jsp:include page="/footer.jsp" /> </footer>

		</div>
	</div>
</body>
</html>